luci-mod-network: change to non-breaking space character
authorPaul Donald <[email protected]>
Fri, 20 Sep 2024 15:49:07 +0000 (17:49 +0200)
committerPaul Donald <[email protected]>
Fri, 20 Sep 2024 15:49:20 +0000 (17:49 +0200)
Closes #7252

Thanks to @efahl

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit a2c21a62c9cd10b61baa48f4881cd8794930e4ff)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 39dc915fdbfde3230be161a0c3186d4a0768ff9a..accd528a4438161e1bb94fbda3023f42a0553c28 100644 (file)
@@ -80,7 +80,7 @@ function render_signal_badge(signalPercent, signalValue, noiseValue, wrap, mode)
                }
 
                if (noiseValue != null && noiseValue != 0) {
-                       value = '---/%d\x0a%s'.format(noiseValue, _('dBm'));
+                       value = '---/%d\xa0%s'.format(noiseValue, _('dBm'));
                        title = '%s / %s: %d %s'.format(title, _('Noise'), noiseValue, _('dBm'));
                }
                else {